<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 86195
  Date: 2024-12-13
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table>
        <tr>
            <td>直播编号：</td>
            <td><input type="text" value="${sq.id}"></td>
        </tr>
        <tr>
            <td>主播姓名：</td>
            <td><input type="text" value="${sq.streamer}"></td>
        </tr>
        <tr>
            <td>直播平台：</td>
            <td><input type="text" value="${sq.livePlatform}"></td>
        </tr>
        <tr>
            <td>带货商品：</td>
            <td><input type="text" value="${sq.product}"></td>
        </tr>
        <tr>
            <td>商品价格：</td>
            <td><input type="text" value="${sq.price}"></td>
        </tr>
        <tr>
            <td>直播时间：</td>
            <td><fmt:formatDate value="${sq.liveTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>

        </tr>
        <tr>
            <td>直播状态：</td>
            <td>
                <c:if test="${sq.status == 1}">
                    <input type="radio" name="status" checked>正常直播
                    <input type="radio" name="status">取消直播
                </c:if>
                <c:if test="${sq.status == 0}">
                    <input type="radio" name="status">正常直播
                    <input type="radio" name="status" checked>取消直播
                </c:if>
            </td>
        </tr>
        <tr>
            <td>操作：</td>
            <td><input type="submit" value="返回"></td>
        </tr>
    </table>

</form>
</body>
</html>
